# -*- coding: utf-8 -*-
# @Time : 2019/1/21 15:33
# @Author : Administrator
# @File : start.py
# @Project : untitled
# @title : 
import unittest
from HTMLTestRunner import  HTMLTestRunner
from WoniuBoss2.GUI.cases.basic_info import BasicInfor


if __name__ == '__main__':
     suite = unittest.TestSuite()
     suite.addTests(unittest.TestLoader().loadTestsFromTestCase(BasicInfor))
     with open(r"C:\Users\Administrator\PycharmProjects\untitled\WoniuBoss2\GUI\report\test001.html","w",encoding="utf8") as file:
         runner = HTMLTestRunner(stream=file,verbosity=2,title="basic information test",
                                 description="basic information testreport")
         runner.run(suite)
